package app.project.streetlensproject.util;

public class RotationDeviceUtil {

	public static RotationDeviceUtil instance;

	public static RotationDeviceUtil getInstance() {
		if (instance == null) {
			instance = new RotationDeviceUtil();
		}

		return instance;
	}

//	  private void DrawStreetRadiusCircle(Canvas paramCanvas, Paint paramPaint, RowInfo[] paramArrayOfRowInfo, float paramFloat)
//	  {
//	    int i = this.screen_width - this.mRadius - this.mPreviewPadding;
//	    int j = this.mRadius + this.mPreviewPadding;
//	    paramPaint.setColor(-16777216);
//	    paramPaint.setAlpha(100);
//	    paramPaint.setStyle(Paint.Style.FILL_AND_STROKE);
//	    paramPaint.setAntiAlias(true);
//	    paramCanvas.drawCircle(i, j, this.mRadius, paramPaint);
//	    paramPaint.setColor(-65536);
//	    paramPaint.setAlpha(80);
//	    paramCanvas.drawArc(new RectF(i - this.mRadius, j - this.mRadius, i + this.mRadius, j + this.mRadius), -90 - this.mSweepAngle, 2 * this.mSweepAngle, true, paramPaint);
//	    paramPaint.setColor(-1);
//	    paramPaint.setAlpha(255);
//	    int m;
//	    for (int k = 0; ; k++)
//	    {
//	      if (k >= paramArrayOfRowInfo.length)
//	        return;
//	      m = 0;
//	      if (m < paramArrayOfRowInfo[k].placeItem.size())
//	        break;
//	    }
//	    int n = ((StringList)paramArrayOfRowInfo[k].placeItem.get(m)).index;
//	    float f1 = ControllerView.lc.distance[n];
//	    if (f1 > this.max_distance_to_show / 1000);
//	    while (true)
//	    {
//	      m++;
//	      break;
//	      float f2 = ControllerView.lc.angle[n];
//	      float f3 = 1000.0F * f1 / this.max_distance_for_circle * this.mRadius;
//	      if (f3 > this.mRadius)
//	        f3 = this.mRadius;
//	      float f4 = f2 + (-1.0F * paramFloat - 90.0F);
//	      int i1 = (int)(i + f3 * Math.cos(0.017453292519D * f4));
//	      int i2 = (int)(j + f3 * Math.sin(0.017453292519D * f4));
//	      paramCanvas.drawCircle(i1, i2, 1, paramPaint);
//	    }
//	  }
}
